﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/AdminCP/Views/Shared/ViewMasterPage1.Master"
    Inherits="System.Web.Mvc.ViewPage<InfoTech.Mvc.LanTranh.MucVu.Models.QUANHUYENModel>" %>

<%@ Import Namespace="InfoTech.LanTranh.MucVu.Service" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="content-box">
        <div class="content-box-header">
            <h3>
                Cập nhật quận huyện</h3>
        </div>
        <!-- End .content-box-header -->
        <div class="content-box-content">
            <%
                Html.EnableClientValidation(); %>
            <% 
                using (Html.BeginForm())
                {%>
            <%: Html.ValidationSummary() %>
            <%:Html.HiddenFor(c=>c.MAQUANHUYEN) %>
            <table cellpadding="3" cellspacing="3">
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Quận huyện
                    </td>
                    <td>
                        <div class="editor-field">
                            <%: Html.TextBoxFor(model => model.TENQUANHUYEN, new { style = "width: 400px", @class="text-input" })%>
                            <%: Html.ValidationMessageFor(model => model.TENQUANHUYEN, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Tỉnh Thành
                    </td>
                    <td>
                        <div class="editor-field">
                            <%:Html.DropDownListFor(c => c.MATINHTHANH, TINHTHANHService.Get_List_Join_Country())%>
                            <%: Html.ValidationMessageFor(model => model.MATINHTHANH, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Dùng Nhập Liệu
                    </td>
                    <td>
                        <div class="editor-field">
                            <%:Html.CheckBoxFor(c=>c.ISDATA)%>
                            <%: Html.ValidationMessageFor(model => model.ISDATA, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                        Mặc định
                    </td>
                    <td>
                        <div class="editor-field">
                            <%:Html.CheckBoxFor(c => c.ISDEFAULT)%>
                            <%: Html.ValidationMessageFor(model => model.ISDEFAULT, "(*)")%>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="lineRow" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td align="right" class="cellTitle" valign="middle">
                    </td>
                    <td>
                        <input type="submit" value="Cập nhật quận huyện" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only" />
                    </td>
                </tr>
            </table>
            <% } %>
        </div>
        <!-- End .content-box-content -->
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderCss" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderScript" runat="server">
</asp:Content>
